package com.example.controller;


import com.example.domain.ResponseResult;
import com.example.service.NewsService;
import com.example.service.StarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zeer
 * @since 2023-04-30
 */
@RestController
@RequestMapping("/star")
public class StarController {
    @Autowired
    private StarService starService;

    @GetMapping("/selectByStar")
    public ResponseResult selectByStar(){return starService.selectByStar();}

}
